package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 慢病政策设置对象 sys_policy
 * 
 * @author moweiyu
 * @date 2021-04-30
 */
public class SysPolicy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 年度 */
    @Excel(name = "年度")
    private String year;

    /** 封顶线 */
    @Excel(name = "封顶线")
    private Long top;

    /** 报销比例 */
    @Excel(name = "报销比例")
    private BigDecimal proportion;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }
    public void setTop(Long top) 
    {
        this.top = top;
    }

    public Long getTop() 
    {
        return top;
    }
    public void setProportion(BigDecimal proportion) 
    {
        this.proportion = proportion;
    }

    public BigDecimal getProportion() 
    {
        return proportion;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("top", getTop())
            .append("proportion", getProportion())
            .toString();
    }
}
